#ifndef H_DRV_I2C
#define H_DRV_I2C

#include <stdint.h>

int drv_i2cOpen(void);
int drv_i2cClose(int fd);
void drv_i2cSetDevice(int fd, int address);
void drv_i2cWriteByte(int fd,int reg, char data);
char drv_i2cReadByte(int fd, int reg);
signed short drv_i2cReadShort(int fd, int reg);
#endif
